package com.simpleframe.validator.mapper;

public class ValidateRule {
	
	private String type;
	private String value;
	private String message;
	
	private ValidateField field;
	
	public ValidateRule(ValidateField field, String value){
		this.field = field;
		this.value = value;
	}
	
	public ValidateField getField() {
		return field;
	}
	
	public void setValue(String value) {
		this.value = value;
	}
	
	public String getValue() {
		return value;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
